<!DOCTYPE html>
<html xmlns:th="http://www.w3.org/1999/xhtml" xmlns:shiro="http://www.w3.org/1999/xhtml"
      xmlns="http://www.w3.org/1999/html">
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body>
<style>
    .layui-table-cell {
        display: block;
    }

    .layui-table-tips-c:before {
        position: relative;
        right: 0px;
        top: -4px;
    }

    .myRadios {
        display: flex;
        justify-content: flex-start;
        align-items: center;
        height: 50px;
        width: 100%;
    }

    .layui-icon-radio,.layui-icon-circle{
		display: none!important;
	}

</style>

<input id="type" th:value="${type}" style="display: none">
<div class="layui-fluid mt2">
    <div class="layui-row layui-col-space10">

        <!--		<div class="layui-inline">-->
        <!--			<button type="button" class="layui-btn" id="export">导出</button>-->
        <!--		</div>-->

        <!--		<div class="demoTable">-->

        <!--			<div class="layui-inline">-->
        <!--				姓名：-->
        <!--				<div class="layui-inline" >-->
        <!--					<input class="layui-input" name="nickname" id="nickname" autocomplete="off">-->
        <!--				</div>-->
        <!--			</div>-->

        <!--			<div class="layui-form layui-inline">-->
        <!--				订单状态：-->
        <!--				<div class="layui-inline">-->
        <!--					<select name="type" id="type" lay-filter="aihao">-->
        <!--						<option value="">请选择</option>-->
        <!--						<option value="0">待开始</option>-->
        <!--						<option value="1">进行中</option>-->
        <!--						<option value="2">已完成</option>-->
        <!--						<option value="3">已取消</option>-->
        <!--					</select>-->
        <!--				</div>-->
        <!--			</div>-->

        <!--			<button class="layui-btn" data-type="reload">搜索</button>-->

        <!--		</div>-->

    </div>
    <div id="exampleToolbar" style="height: 55px;  align-items: center;display: flex;width: 100%;">
        <div class="demoTable"
             style="display: flex; flex-direction: row;justify-content: flex-start;align-items: center;padding-left: 10px;">
            <div class="layui-inline" style="margin-right: 10px">
                姓名：
                <div class="layui-inline">
                    <input class="layui-input" placeholder="请输入姓名" name="name" id="name" autocomplete="off">
                </div>
            </div>
            <div class="layui-inline" style="margin-right: 10px">
                手机号：
                <div class="layui-inline">
                    <input class="layui-input" placeholder="请输入手机号" name="mobile" id="mobile" autocomplete="off">
                </div>
            </div>
            <div class="layui-inline" style="margin-right: 10px">
                <span th:text="${type=='拼团'?'拼团时间：':type=='课程'?'下单时间：':'下单时间'}"></span>
                <div class="layui-inline" id="ID-laydate-range">
                    <div class="layui-input-inline">
                        <input type="text" autocomplete="off" id="createTime" class="layui-input"
                               placeholder="开始日期">
                    </div>
                    <div class="layui-input-inline">-</div>
                    <div class="layui-input-inline">
                        <input type="text" autocomplete="off" id="endTime" class="layui-input" placeholder="结束日期">
                    </div>
                </div>
            </div>
            <button class="layui-btn" data-type="reload">搜索</button>
            <button class="layui-btn" onclick="dataReset()">重置</button>
        </div>
    </div>
	<div class="layui-form myRadios" th:if="${type=='课程'}">
        <input id="myRadio" value="" style="display: none">
		<input type="radio" name="A" value="" title="全部" lay-filter="demo-radio-filter" checked>
		<input type="radio" name="A" value="未支付" title="待付款" lay-filter="demo-radio-filter" >
		<input type="radio" name="A" value="支付成功" title="已发货" lay-filter="demo-radio-filter">
		<input type="radio" name="A" value="用户已取消" title="已取消" lay-filter="demo-radio-filter">
	</div>
    <div class="layui-form myRadios" th:if="${type=='订单'}">
        <input id="myRadio" value="" style="display: none">
<!--        待付款  已发货  退款中   1：待使用，2：已使用，3：已退款-->
        <input type="radio" name="A" value="" title="全部" lay-filter="demo-radio-filter" checked>
        <input type="radio" name="A" value="1" title="待使用" lay-filter="demo-radio-filter" >
        <input type="radio" name="A" value="2" title="已使用" lay-filter="demo-radio-filter">
        <input type="radio" name="A" value="3" title="已退款" lay-filter="demo-radio-filter">
        <input type="radio" name="A" value="4" title="已过期" lay-filter="demo-radio-filter">
    </div>
    <table class="layui-hide" id="exampleTable" lay-filter="exampleTable"></table>

</div>

<div>
	<script type="text/javascript">
		var s_jazUserOrder_info = 'hidden';
		var s_jazGroupActivity_info = 'hidden';
		var s_jazCoursesOrder_info = 'hidden';
	</script>
	<script shiro:hasPermission="jzweb:jazUserOrder:info" type="text/javascript">
        s_jazUserOrder_info = '';
	</script>
	<script shiro:hasPermission="jzweb:jazGroupActivity:info" type="text/javascript">
        s_jazGroupActivity_info = '';
	</script>
	<script shiro:hasPermission="jzweb:jazCoursesOrder:info" type="text/javascript">
        s_jazCoursesOrder_info = '';
	</script>
</div>


<div th:include="include :: footer"></div>
<script type="text/javascript" src="/js/webJs/jzweb/jazGroupActivity/jazGroupActivity.js"></script>
</body>
</html>